#pragma once
#include "MenuContainer.h"
#include "Container.h"
#include "Player.h"
#include "IObserver.h"


struct PlayerStat
{
	int gold;
	int level;
};

class Shop : public MenuContainer,public IObserver
{
	Player * pl;
	PlayerStat stat;

	int layoutX,layoutY;
public:
	Shop(void);
	~Shop(void);

	void observeeChange();

	void setPlayer(Player * player);
	void init();

	void addShopItem(ShopItem * item);
	void removeShopItem(ShopItem * item);
	void deleteShopItem(ShopItem * item);

	void onDestroy();


};

